<template>
  <div class="shop">
    <img v-lazy="item.imgUrl" />
    <div class="shop_content">
      <div class="shop_content_title">{{ item.name }}</div>
      <div class="shop_content_tags">
        <span class="shop_content_tag">月售：{{ item.sales }}</span>
        <span class="shop_content_tag">起送：{{ item.expressLimit }}</span>
        <span class="shop_content_tag">基础运费：{{ item.expressPrice }}</span>
      </div>
      <p class="shop_content_highlight">{{ item.slogan }}</p>
    </div>
  </div>
</template>

<script>
export default {
  name: "ShopInfo",
  props: ["item"],
};
</script>

<style lang="scss" scoped>
.shop {
  font-size: 0.16rem;
  display: flex;
  padding-top: 0.12rem;

  img {
    width: 0.56rem;
    height: 0.56rem;
  }
  .shop_content {
    // background-color: pink;
    margin-left: 0.16rem;
    flex: 1;
    border-bottom: 1px solid #f1f1f1;
    .shop_content_title {
      line-height: 0.22rem;
      font-size: 0.16rem;
      color: #333333;
    }
    .shop_content_tags {
      font-size: 0.13rem;
      margin-top: 0.08rem;
      color: #333333;
      line-height: 0.18rem;
      .shop_content_tag {
        margin-right: 0.16rem;
      }
    }
    .shop_content_highlight {
      line-height: 0.18rem;
      font-size: 0.13rem;
      margin-top: 0.08rem;
      color: #e93b3b;
    }
  }
}
</style>
